import { createApp } from 'vue'
import { createPinia } from 'pinia'
import piniaPersistedState from "pinia-plugin-persistedstate";
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import App from './App.vue'
import router from './router'
import 'normalize.css'
import '@/assets/styles/common.css'
import 'element-plus/theme-chalk/dark/css-vars.css'
import UndrawUi from 'undraw-ui'
import 'undraw-ui/dist/style.css'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'

const app = createApp(App)
app.use(UndrawUi)
app.use(ElementPlus, {
    locale: zhCn,
  })
const pinia = createPinia();
pinia.use(piniaPersistedState);
app.use(pinia);
app.use(router)
app.mount('#app')
